package tictactoe.multiplayer;

/**
 *
 * @author Home
 */
public class Message {

    /**
     *
     */
    public static final String ACCEPT = "accept";

    /**
     *
     */
    public static final String ACCEPTED = "accepted";

    // client -> server

    /**
     *
     */
    public static final String CONNECT = "connect";

    // server -> client

    /**
     *
     */
    public static final String CONNECTED = "connected";

    /**
     *
     */
    public static final String DISCONNECT = "disconnect";

    /**
     *
     */
    public static final String EXCEPTION = "exception";

    /**
     *
     */
    public static final String GET_PLAYERS = "get_players";

    /**
     *
     */
    public static final String MOVE = "move";

    /**
     *
     */
    public static final String OTHER_DISCONNECTED = "other_disconnected";

    /**
     *
     */
    public static final String OTHER_MOVE = "other_move";

    /**
     *
     */
    public static final String PLAYERS = "players";

    /**
     *
     */
    public static final String PLAY_WITH = "play_with";

    /**
     *
     */
    public static final String SERVER_DOWN = "server_down";

    /**
     *
     */
    public static final String WANT_PLAY = "want_play";
}


//~ Formatted by Jindent --- http://www.jindent.com
